package com.xiao.hao.req;

import com.xiao.hao.config.CheckParamsAnnotation;
import com.xiao.hao.constant.CheckParamsEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description 用户用药计划关联表 新增请求入参
 * @Author xiaohao
 * @Date 2025-03-04 11:24:49
 */
@Data
@ApiModel("用户用药计划关联表新增入参")
public class XhProductUserInsertReq {

    @ApiModelProperty(value = "产品id", required = true)
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private List<Long> productIds;

    @ApiModelProperty(value = "用户id", required = true)
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private Long userInfoId;

    @ApiModelProperty("用户档案id")
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private Long userInfoFileId;

    @ApiModelProperty("年龄")
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private Integer age;

    @ApiModelProperty("0:男，1：女")
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private Integer sex;

    @ApiModelProperty("问题code")
    @CheckParamsAnnotation(CheckParamsEnum.INSERT_CHECK)
    private String problemCode;

}



